import request from '@/utils/request';

export async function getDrawingReviewByPage (params: any) {
    return request('/api/design/getDrawingReviewByPage', {
    method: 'POST',
    data: params,
  });
}



export async function addDrawingReview (params: any) {
    return request('/api/design/addDrawingReview', {
    method: 'POST',
    data: params,
  });
}

export async function updateDrawingReview (params: any) {
    return request('/api/design/updateDrawingReview', {
    method: 'POST',
    data: params,
  });
}

export async function delDrawingReview (params: any) {
    return request('/api/design/delDrawingReview', {
    method: 'POST',
    data: params,
  });
}


export async function exportDrawingReview(params: any) {
    return request('/api/design/exportDrawingReview', {
    method: 'POST',
    data: params,
    responseType: 'blob',
  });
}
export default { getDrawingReviewByPage, addDrawingReview, updateDrawingReview, delDrawingReview, exportDrawingReview }
